package com.mask.mk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单详情
 * </p>
 *
 * @author joey
 * @since 2023-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderDetail对象", description="订单详情")
public class OrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单详情id")
    @TableId(value = "odid", type = IdType.AUTO)
    private Integer odid;

    @ApiModelProperty(value = "订单id")
    private Integer oid;

    @ApiModelProperty(value = "用户id")
    private Integer userid;

    @ApiModelProperty(value = "商品id")
    private Integer goodsid;

    @ApiModelProperty(value = "用户手机号")
    private String userphone;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "商品名")
    private String goodsname;

    @ApiModelProperty(value = "商品价格")
    private Integer goodsprice;

    @ApiModelProperty(value = "商品颜色")
    private String goodscolor;

    @ApiModelProperty(value = "商品尺码")
    private String goodssize;

    @ApiModelProperty(value = "商品数量")
    private Integer goodsnum;

    @ApiModelProperty(value = "商品照片")
    private String goodsPic;


}
